package com.snowRemovingUser.mapper;

import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import com.snowRemovingUser.domain.SigningCustomer;

import java.util.List;

/**
 * 气象服务签约客户Mapper接口
 * 
 * @author fz
 * @date 2024-04-24
 */
@DataSource(value = DataSourceType.SLAVE)
public interface SigningCustomerMapper
{
    /**
     * 查询气象服务签约客户
     * 
     * @param signingCustomerId 气象服务签约客户主键
     * @return 气象服务签约客户
     */
    public SigningCustomer selectSigningCustomerBySigningCustomerId(String signingCustomerId);

    /**
     * 查询气象服务签约客户列表
     * 
     * @param signingCustomer 气象服务签约客户
     * @return 气象服务签约客户集合
     */
    public List<SigningCustomer> selectSigningCustomerList(SigningCustomer signingCustomer);

    /**
     * 新增气象服务签约客户
     * 
     * @param signingCustomer 气象服务签约客户
     * @return 结果
     */
    public int insertSigningCustomer(SigningCustomer signingCustomer);

    /**
     * 修改气象服务签约客户
     * 
     * @param signingCustomer 气象服务签约客户
     * @return 结果
     */
    public int updateSigningCustomer(SigningCustomer signingCustomer);

    /**
     * 删除气象服务签约客户
     * 
     * @param signingCustomerId 气象服务签约客户主键
     * @return 结果
     */
    public int deleteSigningCustomerBySigningCustomerId(String signingCustomerId);

    /**
     * 批量删除气象服务签约客户
     * 
     * @param signingCustomerIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSigningCustomerBySigningCustomerIds(String[] signingCustomerIds);
}
